<?php

		$img=new \Common\Model\GetImg;

		$i=$img->get();

	?>

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>个人博客</title>

<meta name="keywords" content="" />

<meta name="description" content="" />

<link href="./Public/Home/css/base.css" rel="stylesheet">

<link href="./Public/Home/css/index.css" rel="stylesheet">

<script type="text/javascript" src="./Public/Home/js/jquery.min.js"></script>

<script type="text/javascript" src="./Public/Home/js/sliders.js"></script>

<!--[if lt IE 9]>

<script src="js/modernizr.js"></script>

<![endif]-->

<!-- 返回顶部调用 begin -->

<script type="text/javascript" src="./Public/Home/js/up/jquery.js"></script>

<script type="text/javascript" src="./Public/Home/js/up/js.js"></script>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>

<!-- 返回顶部调用 end-->

</head>

<body style="background: url('./Public/Home/images/body_bg_new3.jpg') no-repeat; ">

<script type="text/javascript">
$(function(){
    var shortName = "rlj";
    var a = <?php echo json_encode($x); ?>;
 var numa =0  
    for(var n=0;n<a.length;n++){
    	$.ajaxSettings.async = false;
    	var jsonUrl = "http://api.duoshuo.com/threads/counts.jsonp?short_name=" + shortName + "&threads=" + a[n] +  "&callback=?";
    	  $.getJSON(jsonUrl, function(result) {
	        $.each(result.response, function(i, field) {
	            var value = field.comments;
	            
	            $('.num').eq(numa).text(value);
	            numa++;
	            
	        })
    	})
   	}
    
})
</script>

<header>
	<div class="logo f_l"> 
  		<a href="/"><img src="./Public/Home/images/logo.png" style="display: block;width: 180px;height:50px;border-radius:calc(0%);"></a>
  	</div>
  <nav id="topnav" class="f_r" style="border-radius:0px;background:plum;padding: 0px;">
    <ul>
    	<a href="index.html">首页</a>
    	    	   <a href="listC_2.html">娱乐</a>
    	    	   <a href="listC_1.html">新闻</a>
    	    	   <a href="listC_10.html">科技</a>
    	    	   <a href="listC_9.html">社会</a>
    	    	   <a href="listC_6.html">php</a>
    	    	   <a href="listC_11.html">军事</a>
    	    </ul>
    <script src="js/nav.js"></script> 
  </nav>
</header>

<article>

  <div class="l_box f_l">

  	

    <div class="banner">

      <div id="slide-holder">	

        <div id="slide-runner">

        	<a href="https://www.baidu.com/" target="_blank">

        		<?php foreach ($i as $k){?>

        		<img id="slide-img-<?php echo $k['id']?>" src="<?php echo $k['url']?>"  alt="" />

        		<?php }?>

        	</a>

          <div id="slide-controls">

            <p id="slide-client" class="text"><strong></strong><span></span></p>

            <p id="slide-desc" class="text"></p>

            <p id="slide-nav"></p>

          </div>

        </div>

      </div>

      <script>

	  if(!window.slider) {

		var slider={};

	}

	slider.data= [

    {

        "id":"slide-img-1", // 与slide-runner中的img标签id对应

        "client":"听幽兰",

        "desc":"那个在不经意中，也许就改变了我一生的男孩。" //这里修改描述

    },

    {

        "id":"slide-img-2",

        "client":"木吉他的夏天",

        "desc":"不要轻易用过去来衡量生活的幸与不幸"

    },

    {

        "id":"slide-img-3",

        "client":"按时长大",

        "desc":"我一直喜欢下午的阳光。"

    },

    {

        "id":"slide-img-4",

        "client":"我要我们在一起",

        "desc":"喜欢的歌静静地听，喜欢的人远远地看。 "

    } 

	];



	  </script> 

	  <!--文章内容部分-->

    </div>



    <!-- banner代码 结束 -->

    <div class="topnews">

      <h2>

      	<span>

	      		</span>

	      		<b>文章</b>推荐

      	</h2>

      <?php foreach ($data as $dv){?>

      <div class="blogs">

        <figure><img src="<?php echo $dv['thumb']?>"></figure>

        <ul>

	          <h3>

	          	<a href="Content_<?php echo $dv['aid']?>.html" target="_blank"><?php echo $dv['title']?></a>

	          </h3>

          <p>

          	<?php echo $dv['digest']?>

          </p>

          <p class="autor">

          	<span class="lm f_l">

          	<?php foreach ($dv['tag'] as $ccc){?>

          		<a href="list_<?php echo $ccc['tid']?>.html" ><?php echo $ccc['tname']?></a>

          	<?php }?>

          	</span><span class="dtime f_l"><?php echo date('Y-m-d',$dv['sendtime'])?></span>

          	<span class="viewnum f_r">浏览（<a href="javascript:;"><?php echo $dv['click']?></a>）</span>

          	<span class="pingl f_r">评论（<a href="javascript:;" class="num"></a>）</span>

          </p>

        </ul>

      </div>

      <?php }?>

    </div>

  </div>

  <!--文章内容结束-->

   















 





















































<!--右边内容开始-->

  <!--关注我-->

  <div class="r_box f_r">

    <div class="tit01">

    </div>

    <!--tit01 end-->

    <!--<div class="ad300x100"> <img src="./Public/Home/images/ad300x100.jpg"> </div>-->

    

    <div class="moreSelect" id="lp_right_select"> 

      <script>

window.onload = function ()

{

	var oLi = document.getElementById("tab").getElementsByTagName("li");

	var oUl = document.getElementById("ms-main").getElementsByTagName("div");

	

	for(var i = 0; i < oLi.length; i++)

	{

		oLi[i].index = i;

		oLi[i].onmouseover = function ()

		{

			for(var n = 0; n < oLi.length; n++) oLi[n].className="";

			this.className = "cur";

			for(var n = 0; n < oUl.length; n++) oUl[n].style.display = "none";

			oUl[this.index].style.display = "block"

		}	

	}

}

</script>

      <div class="ms-top">

        <ul class="hd" id="tab">

          <li class="cur"><a href="javascript:;">点击排行</a></li>

          <li><a href="javascript:;">最新文章</a></li>

          <li><a href="javascript:;">站长推荐</a></li>

        </ul>

      </div>

      <div class="ms-main" id="ms-main">

      	<!--点击排行-->

        <div style="display: block;" class="bd bd-news" >

          <ul>

          	
            	<li><a href="Content_6.html" target="_blank">排名前五的PHP调试工具 你认可吗？</a></li>

            
            	<li><a href="Content_4.html" target="_blank">MySQL 中文网 PHP中正则表达式详细说明</a></li>

            
            	<li><a href="Content_1.html" target="_blank">陈家瑛辟谣王菲演唱会：海报是假的（图）</a></li>

            
            	<li><a href="Content_14.html" target="_blank">CSS3弹性盒模型和多列属性</a></li>

            
            	<li><a href="Content_5.html" target="_blank">文化自信——习近平提出的时代课题</a></li>

            
          </ul>

        </div>

        <!--点击排行结束-->

        <!--最新文章-->

        <div  class="bd bd-news">

          <ul>

          	
           		 <li><a href="Content_1.html" target="_blank">陈家瑛辟谣王菲演唱会：海报是假的（图）</a></li>

            
           		 <li><a href="Content_4.html" target="_blank">MySQL 中文网 PHP中正则表达式详细说明</a></li>

            
           		 <li><a href="Content_5.html" target="_blank">文化自信——习近平提出的时代课题</a></li>

            
           		 <li><a href="Content_6.html" target="_blank">排名前五的PHP调试工具 你认可吗？</a></li>

            
          </ul>

        </div>

        <!--站长推荐-->

        <div class="bd bd-news">

          <ul>

          	
            <li>

            	<a href="Content_6.html" target="_blank">排名前五的PHP调试工具 你认可吗？</a>

            </li>

            
            <li>

            	<a href="Content_4.html" target="_blank">MySQL 中文网 PHP中正则表达式详细说明</a>

            </li>

            
            <li>

            	<a href="Content_14.html" target="_blank">CSS3弹性盒模型和多列属性</a>

            </li>

            
            <li>

            	<a href="Content_1.html" target="_blank">陈家瑛辟谣王菲演唱会：海报是假的（图）</a>

            </li>

            
            <li>

            	<a href="Content_9.html" target="_blank">公众如何解读天气预报？</a>

            </li>

            
            <li>

            	<a href="Content_7.html" target="_blank">PHP开发：从程序化到面向对象编程</a>

            </li>

            
          </ul>

        </div>

      </div>

      <!--ms-main end --> 

    </div>

    <!--切换卡 moreSelect end -->

    

    <div class="cloud">

      <h3>标签云</h3>

      <ul>

      	
        <li>

        	<a href="list_1.html">火爆</a>

        </li>

        
        <li>

        	<a href="list_2.html">热情</a>

        </li>

        
        <li>

        	<a href="list_3.html">热门</a>

        </li>

        
        <li>

        	<a href="list_4.html">好 玩</a>

        </li>

        
        <li>

        	<a href="list_5.html">特 色</a>

        </li>

        
        <li>

        	<a href="list_6.html">热 情</a>

        </li>

        
        <li>

        	<a href="list_7.html">新 鲜</a>

        </li>

        
      </ul>

    </div>

    <!--图文推荐-->

	    <div class="tuwen">

	      <h3>图文推荐</h3>

	      <ul>

	      	
	        <li>

	        	<a href="Content_1.html">

	        		<img src="Upload/56401470370094_thump.jpg">

	        			<b>陈家瑛辟谣王菲演唱会：海报是假的（图）</b>

	        	</a>

	          <p>

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_3.html">热门</a>

	          		 </span> 

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_1.html">火爆</a>

	          		 </span> 

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_7.html">新 鲜</a>

	          		 </span> 

	          		
	          	   <span class="tutime">2016-08-03</span>

	          </p>

	        </li>

	        
	        <li>

	        	<a href="Content_4.html">

	        		<img src="Upload/55181470369856_thump.jpg">

	        			<b>MySQL 中文网 PHP中正则表达式详细说明</b>

	        	</a>

	          <p>

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_1.html">火爆</a>

	          		 </span> 

	          		
	          	   <span class="tutime">2016-08-03</span>

	          </p>

	        </li>

	        
	        <li>

	        	<a href="Content_5.html">

	        		<img src="Upload/79261470369721_thump.jpg">

	        			<b>文化自信——习近平提出的时代课题</b>

	        	</a>

	          <p>

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_7.html">新 鲜</a>

	          		 </span> 

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_6.html">热 情</a>

	          		 </span> 

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_1.html">火爆</a>

	          		 </span> 

	          		
	          	   <span class="tutime">2016-08-04</span>

	          </p>

	        </li>

	        
	        <li>

	        	<a href="Content_6.html">

	        		<img src="Upload/70631470369532_thump.jpg">

	        			<b>排名前五的PHP调试工具 你认可吗？</b>

	        	</a>

	          <p>

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_3.html">热门</a>

	          		 </span> 

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_2.html">热情</a>

	          		 </span> 

	          		
	          		 <span class="tulanmu">

	          		 		<a href="list_1.html">火爆</a>

	          		 </span> 

	          		
	          	   <span class="tutime">2016-08-04</span>

	          </p>

	        </li>

	        
	      </ul>

	    </div>

    <!--图文推荐结束-->

    <!--<div class="ad"> <img src="./Public/Home/images/03.jpg"> </div>-->

    <h3><span>[<a href="javascript:;">微信号</a>]</span></h3>

    <div class="ad"><img src="./Public/home/images/me.bmp"></div>

    <div class="links">

      <h3><span><a href="javascript:;"></a></span>友情链接</h3>

      <ul>
                              <li>
                          <a href="https://www.baidu.com/" target="_blank">百度</a>
                  </li>
                             <li>
                          <a href="http://www.php.net/manual/zh/" target="_blank">php手册</a>
                  </li>
                             <li>
                          <a href="http://bbs.miaov.com/forum.php" target="_blank">妙味论坛</a>
                  </li>
                             <li>
                          <a href="http://www.jquery123.com/" target="_blank">jQuery手册官网</a>
                  </li>
                             <li>
                          <a href="http://www.jq22.com/" target="_blank">jQuery插件</a>
                  </li>
                </ul>

    </div>

  </div>

  <!--右边结束-->

  <!--r_box end --> 

</article>


<footer>
  <p class="ft-copyright">尹磊博客 Design by DanceSmile.000000000000</p>
  <div id="tbox">
  	 <!--<a id="togbook" href=""></a>-->
  	 <a id="gotop" href="#"></a> 
  	 
  </div>
</footer>

</body>

</html>

